/**
 * @filename:Wish 2021年9月14日
 * @project WishStar  V1.0
 * Copyright(c) 2020 huang Co. Ltd. 
 * All right reserved. 
 */
package com.huang.wishstar.entity;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import org.springframework.format.annotation.DateTimeFormat;
import java.io.Serializable;
import java.time.LocalDate;
import java.util.Date;

/**   
 * @Description:TODO(愿望表实体类)
 * 
 * @version: V1.0
 * @author: huang
 * 
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
public class Wish extends Model<Wish> {

	private static final long serialVersionUID = 1632709242555L;
	
	@ApiModelProperty(name = "wishId" , value = "愿望id")
	private Integer wishId;
    
	@ApiModelProperty(name = "userId" , value = "用户id")
	private Integer userId;
    
	@ApiModelProperty(name = "wishTitle" , value = "愿望标题")
	private String wishTitle;
    
	@ApiModelProperty(name = "wishDetails" , value = "愿望完成后的描述")
	private String wishDetails;
    
	@DateTimeFormat(pattern = "yyyy-MM-dd")
	@JsonFormat(pattern="yyyy-MM-dd",timezone = "GMT+8")
	@ApiModelProperty(name = "wishDate" , value = "愿望预期完成日期")
	private LocalDate wishDate;
    
	@ApiModelProperty(name = "wishIcon" , value = "愿望图标")
	private Integer wishIcon;
    
	@ApiModelProperty(name = "isFinish" , value = "0未完成，1已完成")
	private Integer isFinish;
    
	@ApiModelProperty(name = "favourNum" , value = "许愿星的点赞数")
	private Integer favourNum;
    
	@DateTimeFormat(pattern = "yyyy-MM-dd")
	@JsonFormat(pattern="yyyy-MM-dd",timezone = "GMT+8")
	@ApiModelProperty(name = "finishTime" , value = "愿望完成时间")
	private LocalDate finishTime;
    


}
